<template>
  <el-container>
    <el-header class="container">
      <img src="http://localhost:8080/logo.png" style="height:100%;float: left"/>
      <h2 class="content">Welcome to BabyCat Shopping</h2>
    </el-header>
      <el-container>
        <el-aside width="200px">
          <home-menu-vue/>
        </el-aside>
        <el-main>
          <orderTableVue/>
        </el-main>
      </el-container>
    </el-container>
</template>

<script>
import homeMenuVue from '@/components/homeMenu.vue'
import orderTableVue from '@/components/orderTable.vue'
export default {
    name:'home',
    components:{
      homeMenuVue,
      orderTableVue,
    },
    data(){
      return {
        orderName:''
      }
    }
}
</script>

<style scoped>
 .el-header, .el-footer {
    background-color: #f0f2f5;
    color: #333;
    text-align: center;
    line-height: 60px;
  }
  
  .el-aside {
    background-color: #D3DCE6;
    color: #333;
    text-align: center;
    line-height: 200px;
  }
  
  .el-main {
    background-color: #E9EEF3;
    color: #333;
    text-align: center;
    line-height: 160px;
  }
  
  body > .el-container {
    margin-bottom: 40px;
  }
  
  .el-container:nth-child(5) .el-aside,
  .el-container:nth-child(6) .el-aside {
    line-height: 260px;
  }
  
  .el-container:nth-child(7) .el-aside {
    line-height: 320px;
  }
  .container {
    position: relative;
    height: 100%;
  }
  .content {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
   .el-row {
      margin-bottom: 20px;
    }
    .el-row:last-child {
      margin-bottom: 0;
    }
  .el-col {
    border-radius: 4px;
  }
  .bg-purple-dark {
    background: #99a9bf;
  }
  .bg-purple {
    background: #d3dce6;
  }
  .bg-purple-light {
    background: #e5e9f2;
  }
  .grid-content {
    border-radius: 4px;
    min-height: 36px;
  }
  .row-bg {
    padding: 10px 0;
    background-color: #f9fafc;
  }
</style>